package my.service;

import my.spring.GenericService;
import org.springframework.stereotype.Service;

/**
 * 中国行政区信息.
 * @author Hubert
 */
@Service
public class DistrictService extends GenericService {
//    @Autowired
//    DSLContext sqlDsl;



//    public Object getAllOneLevel() {
//        Result<TbDistrictRecord> result = sqlDsl.selectFrom(TB_DISTRICT)
//            .where(TB_DISTRICT.LEVEL.eq(1))
//            .fetch();
//        return result.intoMaps();
//    }
//
//
//
//    public Object getAllSubLevel(int pPid) {
//        Result<TbDistrictRecord> result = sqlDsl.selectFrom(TB_DISTRICT)
//            .where(TB_DISTRICT.PID.eq(pPid))
//            .fetch();
//        return result.intoMaps();
//    }
}
